package org.idea.qiyu.common.context;

import java.util.ArrayList;
import java.util.List;

/**
 * 协助调用链路相关的信息
 *
 * @Author linhao
 * @Date created in 7:36 上午 2021/9/6
 */
public class QiyuCommonRequest {

    private String headTraceId;

    private List<String> traceIdList = new ArrayList<>();

    private long timestamp;

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public String getHeadTraceId() {
        return headTraceId;
    }

    public void setHeadTraceId(String headTraceId) {
        this.headTraceId = headTraceId;
    }

    public List<String> getTraceIdList() {
        return traceIdList;
    }

    public void setTraceIdList(List<String> traceIdList) {
        this.traceIdList = traceIdList;
    }

    @Override
    public String toString() {
        return "QiyuCommonRequest{" +
                "headTraceId='" + headTraceId + '\'' +
                ", traceIdList=" + traceIdList +
                '}';
    }
}
